package weaver.interfaces.its;

import weaver.email.EmailWorkRunnable;
import weaver.general.BaseBean;

import java.util.HashMap;
import java.util.Map;

/**
 * @version 1.0
 * @Title ecology-9
 * @Company 泛微软件
 * @CreateDate 2024/12/10
 * @Description ${description}
 * @Author Lee
 */
public class EmailUtil {
    public static void sendEmail(Map<String, String> paramMap) {
        String email = paramMap.get("email");
        String zt = paramMap.get("zt");
        //发送邮件内容
        String sendEmailContent = paramMap.get("content");
        EmailWorkRunnable ewr = new EmailWorkRunnable(email, zt, sendEmailContent);
        ewr.emailCommonRemind();
    }
}
